export class TelegramLink {
  static #tg = "https://t.me";

  /**
   * @param {string|number} chatId
   * @param {string|number} messageId
   * @returns {string}
   */
  static message(chatId, messageId) {
    return `${this.#tg}/c/${chatId}/${messageId}`;
  }

  /**
   * @param {string} username
   * @returns {string}
   */
  static user(username) {
    return `${this.#tg}/${username}`;
  }
}
